package pers.litao.bit.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import pers.litao.bit.commons.entities.order.DistributionEntity;
import pers.litao.bit.commons.utils.LoginUserInfo;
import pers.litao.bit.commons.utils.R;

/**
 * @author 李涛
 * @date 2020-12-08 14:10
 */
public interface DistributionService extends IService<DistributionEntity> {
    /**
     * 查看合并的配送订单
     *
     * @param current
     * @return
     */
    R getList(Long current, LoginUserInfo loginUserInfo);

    /**
     * 单个订单点击配送完成
     *
     * @param id
     * @return
     */
    R overOrder(Long id,LoginUserInfo loginUserInfo);

}
